package com.ruoyi.project.service.impl;

import com.ruoyi.common.core.domain.entity.SysDictData;
import com.ruoyi.common.core.text.Convert;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.project.domain.Order;
import com.ruoyi.project.domain.Project;
import com.ruoyi.project.mapper.OrderMapper;
import com.ruoyi.project.mapper.ProjectMapper;
import com.ruoyi.project.service.IOrderService;
import com.ruoyi.project.service.IProjectService;
import com.ruoyi.system.mapper.SysDictDataMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * 订单管理Service业务层处理
 *
 * @author Zul
 * @date 2020-11-20
 */
@Service
public class OrderServiceImpl implements IOrderService {

    @Resource
    private OrderMapper orderMapper;

    @Override
    @Transactional(rollbackFor = Exception.class)
    public int save(Project pro) {
        System.err.println(pro.getData());
        return 1;
    }
}
